package aug19;

import java.awt.*;
import java.awt.event.*;

class InnerEx7
{
	public static void main(String[] args) 
	{
		Button b = new Button("Start");
		b.addActionListener(new EventHandler());
	}
}

class EventHandler implements ActionListener
{
	public void actionPerformed(ActionEvent e) {
		System.out.println("ActionEvent occurred!!!");
	}
}